package org.jeecg.modules.travel.vo.noticeBar;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class PcNoticeBarDetailVo {

    /**主键*/
    @Schema(description = "主键")
    private String id;
    /**创建人*/
    @Schema(description = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
    /**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
    /**删除：0-否，1-是*/
    @Schema(description = "删除：0-否，1-是")
    @TableLogic
    private Integer delFlag;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
    /**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
    /**通知名称*/
    @Schema(description = "通知名称")
    private String noticeName;
    /**通知内容*/
    @Schema(description = "通知内容")
    private String noticeContent;
    /**序号*/
    @Schema(description = "序号")
    private Integer sortNo;
    /**审核状态：-1-审核不通过，0-待审核，1-审核通过*/
    @Dict(dicCode = "check_status")
    @Schema(description = "审核状态：-1-审核不通过，0-待审核，1-审核通过")
    private Integer checkStatus;
    /**审核人*/
    @Dict(dictTable = "sys_user", dicText = "username", dicCode = "id")
    @Schema(description = "审核人")
    private String checkPeople;
    /**审核时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "审核时间")
    private Date checkTime;
    /**审核备注*/
    @Schema(description = "审核备注")
    private String checkRemark;

}
